all: doc

doc: assignment.dvi
	dvipdf assignment.dvi
assignment.dvi: assignment.tex
	latex assignment.tex
	latex assignment.tex
#	bibtex assignment.aux

slice: slice.ps
	ps2pdf14 slice.ps
slice.ps: slice.dvi	
	dvips slice.dvi
slice.dvi: slice.tex	
	latex slice.tex
	latex slice.tex

clean:
	rm *.aux *.dvi *.ps *.log *.snm *.out *.nav *.toc *.bbl *.blg *~
	
	
	
